﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AccionDeMarketingComunicacionTipoEdit.aspx.cs" Inherits="CrmContacto.WebApp.App.AccionDeMarketingComunicacionTipoEdit" %>

<%@ Import Namespace="Web.Framework.Translate" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/Styles/App/CustomerEdit.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <asp:Literal ID="Literal22" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.AccionMarketingConfiguracionTipo.EditTitle"]%>' />
    </h2>
    <div class="editionContainerFilter">        
        <p>
            <span class="title2">
                <asp:Literal ID="Literal2" runat="server" Text='<%$ Code: LocalizationProvider.Instance["MaestroBase.Nombre"]%>' />:</span>
            <asp:TextBox ID="txtNombre" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtNombre"
                runat="server" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
             <asp:Literal ID="Literal6" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.ProductoSearch.Descripcion"]%>' />:</span>
            <asp:TextBox ID="txtDescripcion" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal19" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.AccionMarketingConfiguracion.Configuracion"]%>' />:</span>
               <asp:DropDownList ID="cboConfiguracionId" runat="server" CssClass="cbo cbolong" ClientIDMode="Static">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="cboConfiguracionId"
                runat="server" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                <asp:LinkButton ID="lnkIrAConfiguracion" CssClass="lnkVerClass" runat="server" OnClick="lnkIrAConfiguracion_Click"> <asp:Literal ID="Literal5" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.Command.Ver"]%>' /></asp:LinkButton>
        </p>
        <div class="clear">
        </div>
    </div>
    <br />
    <div class="commandBarDiv">
        <asp:LinkButton ID="lnkGuardar" runat="server" CssClass="guardar" OnClick="lnkGuardar_Click">
            <asp:Literal ID="Literal3" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.Command.Guardar"]%>' /></asp:LinkButton>
        <span>|</span>
        <asp:LinkButton ID="lnkCancelar" runat="server" ClientIDMode="Static" CssClass="agregarNuevo"
            OnClientClick="if(document.DirtyCheck.areControlsDirty()) {return window.AppCommonObj.ConfirmGoBack(); } else {return true;}"
            CausesValidation="false" OnClick="lnkCancelar_Click">
            <asp:Literal ID="Literal4" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.Command.Volver"]%>' /></asp:LinkButton>
        <div class="clear">
        </div>
    </div>
    <script type='text/javascript'>

        $(document).ready(function () {

            if (!window.AppCommonObj) {
                window.AppCommonObj = new AppCommon();
            }

            document.DirtyCheck = new DirtyCheck();
            document.DirtyCheck.loadControlState();

           AppCommonObj.ConfirmMovePage();           
        });
    </script>
</asp:Content>
